package com.agileboot.attendance.common.enums;

import com.agileboot.common.enums.BasicEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 考勤状态枚举
 *
 * @author ruoyi
 */
@Getter
@AllArgsConstructor
public enum AttendanceStatusEnum implements BasicEnum<String> {

    /**
     * 正常
     */
    NORMAL("1", "正常"),

    /**
     * 迟到
     */
    LATE("2", "迟到"),

    /**
     * 早退
     */
    EARLY_LEAVE("3", "早退"),

    /**
     * 旷工
     */
    ABSENT("4", "旷工"),

    /**
     * 请假
     */
    LEAVE("5", "请假"),

    /**
     * 外勤
     */
    OUTSIDE("6", "外勤");

    private final String value;
    private final String description;
    
    @Override
    public String getValue() {
        return value;
    }
    
    @Override
    public String description() {
        return description;
    }
} 